package com.baishancloud.log;

import com.baishancloud.log.murloc.tools.IPData;
import org.junit.Test;

import java.util.Arrays;
import java.util.Map;
import java.util.TreeMap;

/**
 * @author ziqiang.wang
 * @date 2021/12/24 11:08
 */
public class AppTestJ {

    @Test
    public void test1() {
        Map<Long, IPData> map = new TreeMap<>();
        map.put(10L, new IPData(1, 2, 1, 1, 1));
        Long[] longs = map.keySet().toArray(new Long[0]);
        System.out.println(Arrays.toString(longs));
    }

}
